package com.lhj.bootdemo.designmode.factory;

import com.lhj.bootdemo.designmode.factory.framework.Product;
import com.lhj.bootdemo.designmode.factory.idcard.MyIDCardFactory;

/**
 * @author lhj
 * @version 1.0
 * @date 2022/4/5 11:58 上午
 * @description:
 */

public class TestFactory {
    public static void main(String[] args) {
        MyIDCardFactory myIDCardFactory = new MyIDCardFactory();

        Product summer = myIDCardFactory.creat("summer");

        summer.use();
    }
}
